<!DOCTYPE html>
<html lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta charset="utf-8">
    <!-- Title and other stuffs -->
    <title>登陆</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="">
    <!-- Stylesheets -->
    <link href="/static/admin/style/bootstrap.css" rel="stylesheet">
    <link rel="stylesheet" href="/static/admin/style/font-awesome.css">
    <link href="/static/admin/style/style.css" rel="stylesheet">

    <!-- HTML5 Support for IE -->
    <!--[if lt IE 9]>
    <script src="/Public/js/html5shim.js"></script>
    <![endif]-->
    <style>
        #validate_code{
            border: 1px solid #ccc;
            border-radius: 4px;
            -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
            box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
            -webkit-transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            transition: border-color ease-in-out .15s,box-shadow ease-in-out .15s;
            cursor:pointer;
            float: left;
            width: 26%;
        }
        #code{
            float: left;
            width: 74%;
        }
    </style>
</head>

<body>

<!-- Form area -->
<div class="admin-form">
    <div class="container">
        <div class="row">
            <div class="col-md-12">
                <!-- Widget starts -->
                <div class="widget worange">
                    <!-- Widget head -->
                    <div class="widget-head">
                        <i class="icon-lock"></i> Login
                    </div>
                    <div class="widget-content">
                        <div class="padd">
                            <!-- Login form -->
                            <form class="form-horizontal" action="/admin/login/dologin" method="post" id="form" onsubmit="return logi()">
                                <!-- Email -->
                                <div class="form-group">
                                    <label class="control-label col-lg-3">用户名</label>
                                    <div class="col-lg-9">
                                        <input type="text" class="form-control" name="username" id="username" placeholder="请输入用户名">
                                    </div>
                                </div>
                                <!-- Password -->
                                <div class="form-group">
                                    <label class="control-label col-lg-3">密码</label>
                                    <div class="col-lg-9">
                                        <input type="password" class="form-control" name="password" id="password" placeholder="请输入密码">
                                    </div>
                                </div>
                                <!-- Password -->
                                <div class="form-group">
                                    <label class="control-label col-lg-3">验证码</label>
                                    <div class="col-lg-9">
                                        <img src="/admin/login/validataCode" id="validate_code" height="34" />
                                        <input type="text" class="form-control" name="code" id="code" placeholder="请输入验证码">
                                    </div>
                                </div>
                                <div class="col-lg-9 col-lg-offset-2">
                                    <button type="submit" id="sub1" class="btn btn-danger">登录</button>
                                    <button type="reset" class="btn btn-default">重置</button>
                                </div>
                                <br />
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>


<!-- JS -->
<script src="/static/admin/js/jquery.js"></script>
<script src="/static/admin/js/bootstrap.js"></script>
<script src="/static/admin/js/system/jquery.form.js"></script>
<script src="/static/admin/js/system/layer/layer.js"></script>
<script src="/static/admin/js/system/login.js"></script>
</body>
</html>